/**
 * 
 */
package com.enjoyor.soa.traffic.api.service.dubbo.ovms;

import java.util.List;
import java.util.Map;

import com.enjoyor.soa.traffic.api.dto.ovms.LogUserDto;
import com.enjoyor.soa.traffic.api.dto.ovms.VehiclePermitDto;
import com.enjoyor.soa.traffic.util.pojo.Page;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

/**
 * @author ly 通行证
 */
public interface DubboVehiclePermitService {

	/**
	 * 获取通行证列表
	 * 
	 * @param token
	 * @param systemkey
	 * @param map
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	public ResultPojo getVehiclePermitList(String token, String systemkey, LogUserDto logUser, Map map);

	/**
	 * 获取通行证分页
	 * 
	 * @param token
	 * @param systemkey
	 * @param map
	 * @param page
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	public ResultPojo getVehiclePermitPage(String token, String systemkey, LogUserDto logUser, Map map, Page page);

	/**
	 * 删除通行证
	 * 
	 * @param token
	 * @param systemkey
	 * @param permit_id
	 * @return
	 */
	public ResultPojo deleteVehiclePermit(String token, String systemkey, LogUserDto logUser, String Permit_id);

	/**
	 * 新增通行证
	 * 
	 * @param token
	 * @param systemkey
	 * @param Permit
	 * @return
	 */
	public ResultPojo insertVehiclePermit(String token, String systemkey, LogUserDto logUser, VehiclePermitDto permit);

	/**
	 * 更新通行证
	 * 
	 * @param token
	 * @param systemkey
	 * @param Permit
	 * @return
	 */
	public ResultPojo updateVehiclePermit(String token, String systemkey, LogUserDto logUser, VehiclePermitDto permit);

	/**
	 * 获取通行证对应关联列表
	 *
	 */
	public ResultPojo getPermitRltList(String token, String systemkey, LogUserDto logUser, String permit_id);

	/**
	 * 新增通行证对应关联
	 * 
	 */
	public ResultPojo insertPermitRlt(String token, String systemkey, LogUserDto logUser, String permit_id,
			List<String> crossidList);

	/**
	 * 删除通行证对应关联
	 *
	 */
	public ResultPojo deletePermitRlt(String token, String systemkey, LogUserDto logUser, String permit_id);
}
